<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>投递视频-{$webname}</title>
<script language="JavaScript" charset="utf-8" type="text/javascript" src="./views/js/jquery.js"></script>
<script language="javascript" type="text/javascript" charset="utf-8" src="./views/editor/kindeditor.js"></script>
<script language="javascript" type="text/javascript" charset="utf-8" src="./views/editor/lang/zh_CN.js"></script>
<link rel='stylesheet' type='text/css' href='./views/css/user.css'>
<style type="text/css" rel="stylesheet">
input {
    background: url("../images/admin/input.gif") repeat-x scroll center top #FFFFFF;
    border: 1px solid #D0D0D0;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    padding-left: 5px;
    vertical-align: middle;
    
}
textarea {
    border: 1px solid #BBBBBB;
    color: #666666;
    vertical-align: middle;
}
</style>
</head>
<include file="top" />
<div class="show">
<div class="left">
	<include file="left" />
</div>
<div class="user">
    <h3>投递视频</h3> 
    <ul style="line-height:30px">
    <form action="index.php?s=User/addvideo" method="post" id="gxform">
	<input name="is_post" type="hidden" value="1" />
	<input name="uid" type="hidden" value="{$uid}" />
    <input name="status" type="hidden" value="0" />
    <input name="addtime" type="hidden" value="1" />
    <li>标题：<input name="title" type="text" value="" maxlength="255" style="width:350px;"></li>
	<li>分类：<select name="cid" class="select">
			<volist name="list_channel_video" id="gxcms">
				<option value="{$gxcms.id}" <eq name="gxcms.id" value="$cid">selected</eq>>{$gxcms.cname}</option>
				<volist name="gxcms['son']" id="gxcms">
					<option value="{$gxcms.id}" <eq name="gxcms.id" value="$cid">selected</eq>>├ {$gxcms.cname}
					</option>
				</volist>
			</volist>
			</select>
		</li>
    <li>简介：<textarea name="content"  id="content" style="width:600px;height:150px" ></textarea></li>
 	<li>视频地址：<textarea  name="playurl" style="width:600px;height:150px" ></textarea></li>   
    
    <li style="padding-top:10px"><input class="bginput" name="submit" type="submit" value="提交" /> <input class="bginput" name="reset" type="reset" value="重 填" />&nbsp;&nbsp;<input type="text" name="verify" value="" /><img src="?s=User/verify" /></li>
	</form></ul> 
</div>	
</div>
</body>
</html>
<script type="text/javascript">
var editor;
KindEditor.ready(function(K){
    editor = K.create('#content', {
	resizeType : 1,
	allowPreviewEmoticons : false,
	allowImageUpload : false,
	items : [
	'source', '|', 'fontsize', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
	'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
	'insertunorderedlist', '|', 'emoticons', 'image', 'link', 'unlink', 'about']
})});
var $content = $('#content').val();
	document.getElementById("gxform").onreset = function(){
	KindEditor.html('content', $content);
}
</script>